package com.an.vhr.mapper;

import com.an.vhr.bean.MailSendLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Author: an1089
 **/
public interface MailSendLogMapper {
    void updateMailSendLogStatus(@Param("msgId") String msgId,@Param("status") Integer status);

    void insert(@Param("mailSendLog")MailSendLog mailSendLog);

    List<MailSendLog> getMailSendLogsByStatus();

    void updateCount(@Param("msgId")String msgId, @Param("date")Date date);
}
